package com.ynet.middleground.contract.bean;

import java.util.List;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 定义业务凭证中某一证据点名称请求类，(如：合同签署人信息)
 * @date 2020-04-15 16:36
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "定义业务凭证中某一证据点名称请求类", description = "场景式存证，定义业务凭证中某一证据点名称请求类")
public class AddSegmentTypeReq extends BaseReqObj {

    private static final long serialVersionUID = -8871185119282042253L;

    @ApiModelProperty(value = "业务凭证（名称）ID", notes = "业务凭证（名称）ID", dataType = "String", required = true)
    @NotBlank(message = "业务凭证（名称）ID 不能为空")
    private String sceneTempletId;

    @ApiModelProperty(value = "证据点名称列表", notes = "证据点名称列表", required = true)
    @NotNull(message = "证据点名称列表不能为空")
    private List<String> names;

}
